package tech.xs.sys.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import tech.xs.common.framework.domain.entity.BaseEntity;
import tech.xs.common.framework.domain.enums.DataSourceTypeEnum;
import tech.xs.common.domain.enums.YesNoEnum;
import tech.xs.common.framework.domain.exception.InvalidParameterException;

import java.util.regex.Matcher;

import static tech.xs.common.util.pattern.CommonPattern.NUMERIC_LETTER_128;

/**
 * @author SysChildDictData
 * @since 2023/5/11 17:01
 */
@Getter
@Setter
@ToString
@TableName("sys_child_dict_data")
public class SysChildDictData extends BaseEntity {

    private Long dictId;

    private Long childDictId;

    private Long dictDataId;

    private String name;

    private YesNoEnum status;

    private String remark;

    private Integer orderValue;

    private DataSourceTypeEnum source;

    @TableField(exist = false)
    private SysDictData dictData;

}
